home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.cs.umd.edu!league
- From: league@cs.umd.edu (Christopher League)
- Newsgroups: comp.lang.java,comp.lang.c
- Subject: Re: Highlighted Stroustrup by Joy or van Hoff?
- Date: 06 Mar 1996 19:43:11 GMT
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Message-ID: <LEAGUE.96Mar6144311@snocap.cs.umd.edu>
- References: <elharo-0603961030310001@elharo.dialup.inch.com>
- <tad1-0603961128020001@tad1.cit.cornell.edu>
- NNTP-Posting-Host: snocap.cs.umd.edu
- In-reply-to: tad1@cornell.edu's message of Wed, 06 Mar 1996 11:28:02 -0500
-
- --------
- In article <elharo-0603961030310001@elharo.dialup.inch.com>,
- elharo@sunsite.unc.edu (Elliotte Rusty Harold) wrote:
- > someone showed off his copy of the C++ Programming Language in which he
- > was highlighting all the parts Java programmers didn't need to worry
- > about.
-
- A neat idea...
-
- Even before I had heard of Java, I thought about going through
- Kernighan & Ritchie and hilighting every occurence of the word
- "implementation-dependent". I was most inspired to do it when I
- discovered a "bug" that caused
-
- printf("%c%c%c", getchar(), getchar(), getchar());
-
- to print "ABC" when compiled by gcc and "CBA" when compiled by
- Borland. (I typed ABC<Return><EOF> as input to both programs.)
-
- `Chris
- --
- _____
- Christopher League league@cs.umd.edu
- University of Maryland http://www.cs.umd.edu/users/league
- Department of Computer Science PGP Public Key available
-